﻿using ScreenMonitor.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace ScreenMonitor.ServerLib.Command
{
    /// <summary>
    /// 封装与连接相关的命令
    /// </summary>
    public static class ConnectCommand
    {
        /// <summary>
        /// 侦听客户端连接
        /// </summary>
        public static void ListenForClientConnect()
        {
            CommandObjects.UdpCommandCenter.SendCommand(CommandType.ServerStarted, new IPEndPoint(IPAddress.Broadcast, ServerGlobalSettingIpPort.ClientUdpListenPort));
        }
    }
}
